from 基槽 import random

checkcode = ''

for i in range(6):
    #i = 0
    current = random.randrange(0, 5)#随机生成是否与i相同
    #字母
    if current ==i:
        tmp = chr(random.randint(65, 90))
    #数字
    else:
        tmp = random.randint(0, 9)
    checkcode +=str(tmp)
print(checkcode)




